Skip to content

Fix vendored qmsetup bootstrap with non-default install libdirs#223

Merged
SineStriker merged 1 commit intostdware:mainfrom
mikelow:main
Mar 31, 2026
Merged

Fix vendored qmsetup bootstrap with non-default install libdirs#223
SineStriker merged 1 commit intostdware:mainfrom
mikelow:main

Conversation

@mikelow
Copy link
Copy Markdown
Contributor

@mikelow mikelow commented Mar 30, 2026

This fixes vendored qmsetup bootstrap when CMAKE_INSTALL_LIBDIR is overridden.

Right now qwindowkit uses the parent project's CMAKE_INSTALL_LIBDIR to decide where qmsetupConfig.cmake should be, but the nested qmsetup bootstrap build still installs its package config under lib/cmake/qmsetup. When CMAKE_INSTALL_LIBDIR is not lib, those paths no longer match, and find_package(qmsetup) fails during configure.

Flatpak app builds encounter this problem because flatpak-builder defaults the module libdir to /app/lib.

This change fixes that by making the vendored bootstrap explicitly use lib/cmake/qmsetup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants